package com.stefanie.study.sfp;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author: stefanie-zy
 * @time: 2024/6/27-14:30
 * @description: 具体产品角色
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProductA extends Product {

    //  实现抽象业务方法
    @Override
    public void methodDiff() {
        super.setName("A产品");
    }
}
